﻿using System;

namespace AdAggregator.Attribute
{
    [AttributeUsage(AttributeTargets.Property)]
    public class Comparable : System.Attribute
    {
        public int Error { get; set; }
        public int Importance { get; set; }

        public Comparable(int importance)
        {
            Error = 0;
            Importance = importance;
        }

        public Comparable(int importance, int error)
        {
            Error = error;
            Importance = importance;
        }
    }
}